package com.rtx.wms.customer.k3.base.test;

import java.util.Properties;

import com.google.gson.Gson;
import com.kingdee.bos.webapi.entity.IdentifyInfo;
import com.kingdee.bos.webapi.entity.RepoRet;
import com.kingdee.bos.webapi.sdk.K3CloudApi;

public class test {

	public static void main(String[] args) throws Exception {
	        IdentifyInfo  iden = new IdentifyInfo();
	        iden.setUserName("工业2");
	        iden.setAppId("251205_RedO0/gpRMh52aUE4Z1N2y1M6h0VRsPv");
	        iden.setdCID("64891d10583e1d");
	        iden.setAppSecret("7d5c99bbf1ec4c2d8a9a31c13548856c");
	        iden.setlCID(2052);
	        iden.setServerUrl("http://priv.catech.cn:8089/k3cloud");
	        K3CloudApi api = new K3CloudApi(iden);
	        String  data = "{\"CreateOrgId\":0,\"Number\":\"\",\"Id\":\"\",\"IsSortBySeq\":\"false\"}";
	        String result = api.view("BD_Material", data);
	        System.out.println(result);
	}
}
